package main

import (
	"fmt"
	"./parse"
)

func main() {
	inputs:=[]string{
		"1234 5678 9012",
		"0x1122 0666",
		"aaaa bbbb",
		"1111 2222",
		"",
	}

	for _,input :=range inputs {
		fmt.Println(">", input)
		result,err:=parse.Parse(input)
		if err==nil {
			fmt.Println("\t", result)
		} else {
			fmt.Println("\t", err)
		}
	}
}
